package XML.g3;

import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlRootElement(name="student")
//@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(propOrder={"name","studyID","department"})
public class Student {
	
	
	private String name;
	
	private int studyID;
	
	private String department;
	
	public Student() {}
	
	public Student(String name, int studyID, String department) {
		super();
		this.name = name;
		this.studyID = studyID;
		this.department = department;
	}

	//@XmlTransient
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getStudyID() {
		return studyID;
	}

	public void setStudyID(int studyID) {
		this.studyID = studyID;
	}

	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

}
